package kr.or.javacafe.USCM.USCM102.service;

import java.util.List;

import kr.or.javacafe.USCM.USCM102.dao.USCM102DAO;
import kr.or.javacafe.USCM.USCM102.service.USCM102Service;
import kr.or.javacafe.common.exception.KmtcException;
import kr.or.javacafe.common.exception.KmtcRuntimeException;

public class USCM102ServiceImpl implements USCM102Service {

	private USCM102DAO uscm102DAO;
	
	public void setUscm102DAO(USCM102DAO uscm102DAO){
		this.uscm102DAO = uscm102DAO;	
	}
	
	public List findMemberList() throws KmtcException {
		try
		{
			List objList = uscm102DAO.selectMemberList();
			
			return objList;
		}
		catch (RuntimeException ex)
		{
			throw new KmtcRuntimeException(ex);
		}
		catch (Exception ex)
		{
			throw new KmtcException(ex);
		}
	}

}
